package net.oschina.jerry.biz;

import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Service;

import java.io.IOException;

/**
 * Created by jerry on 2016/6/21.
 */
@Service
public class LoginDemoImpl implements ILoginDemo{
    public String helloWorld() {
        return "hello world ,dubbo";
    }
    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] {"classpath:dubbo-provider.xml"});
        context.start();
        System.in.read();

    }
}
